package com.wunong.smart.collection.client.service;

import com.wunong.smart.collection.client.param.CancelCollectionParam;
import com.wunong.smart.collection.client.param.CollectParam;
import com.wunong.smart.domain.platform.rpc.Result;

/**
 * 收藏操作服务
 *
 * @author create by zealot.zt
 */
public interface CollectionOperateService {

    /**
     * 收藏
     *
     * @return
     */
    Result<Long> collect(CollectParam param);

    /**
     * 取消收藏
     *
     * @return
     */
    Result<Void> cancel(CancelCollectionParam param);

}
